class Api {

  ///App 配置
  static const String GET_APP_VERSION_INFO = "/app_server_list.json";


  //-------------------------- OSC --------------------------------

  //------ oauth --------
  static const String OSC_OPEN_API_OAUTH2_TOKEN = "/action/openapi/token"; //authorization_code 方式获取 AccessToken


  //------ 登录 --------
  static const String OSC_OPEN_API_LOGIN = "/action/apiv2/account_login";

  //------ 个人信息 ------
  static const String OSC_OPEN_API_USER = "/action/openapi/user"; //当前用户登录账户信息
  static const String OSC_OPEN_API_USER_INFORMATION = "/action/openapi/user_information"; //用户详情
  static const String OSC_OPEN_API_MY_INFORMATION = "/action/openapi/my_information"; //个人主页详情
  static const String OSC_OPEN_API_PORTRAIT_UPDATE = "/action/openapi/portrait_update"; //头像更新
  static const String OSC_OPEN_API_FRIENDS_LIST = "/action/openapi/friends_list"; //获取好友列表
  static const String OSC_OPEN_API_ACTIVE_LIST = "/action/openapi/active_list"; //动态列表
  static const String OSC_OPEN_API_UPDATE_USER_RELATION = "/action/openapi/update_user_relation"; //更新好友关系（加关注、取消关注）

  static const String OSC_OPEN_API_USER_PORTRAIT_RADAR_MAP = "/radar/getUserPortraitRadarMap"; //技能雷达


  static const String OSC_OPEN_API_USER_INFO_V2 = "/action/apiv2/user_info"; //用户详情
  static const String OSC_OPEN_API_BLACKLIST = "/action/apiv2/user_blacklist"; //黑名单
  static const String OSC_OPEN_API_USER_MESSAGE_MENTIONS = "/action/apiv2/user_msg_mentions"; //我的消息-@我
  static const String OSC_OPEN_API_USER_MESSAGE_COMMENTS = "/action/apiv2/user_msg_comments"; //我的消息-评论
  static const String OSC_OPEN_API_USER_MESSAGE_LETTERS = "/action/apiv2/user_msg_letters"; //我的私信
  static const String OSC_OPEN_API_BLACK_REVERSE = "/action/apiv2/black_reverse"; //加入/移出黑名单
  static const String OSC_OPEN_API_USER_MEDAL = "/action/apiv2/user_medal"; //勋章
  static const String OSC_OPEN_API_READ_RECORD = "/action/apiv2/user_read_list"; //阅读记录
  static const String OSC_OPEN_API_FANS_LIST = "/action/apiv2/user_fans"; //获取粉丝列表
  static const String OSC_OPEN_API_FOLLOWS_LIST = "/action/apiv2/user_follows"; //获取关注列表
  static const String OSC_OPEN_API_USER_RELATION_REVERSE = "/action/apiv2/user_relation_reverse"; //关注、取消关注
  static const String OSC_OPEN_API_QUESTION_LIST = "/action/apiv2/question"; //问答列表
  static const String OSC_OPEN_API_EVENT_LIST = "/action/apiv2/event_list"; //活动列表
  static const String OSC_OPEN_API_ACTIVITY_LIST = "/action/apiv2/user_activity"; //讨论列表
  static const String OSC_OPEN_API_USER_TAGS = "/action/apiv2/user_tags"; //标签列表
  static const String OSC_OPEN_API_UPDATE_TAG_RELATION = "/action/apiv2/put_tags"; //关注、删除标签
  static const String OSC_OPEN_API_SEARCH_TAG_BY_NAME = "/action/apiv2/search_tags_by_name"; //搜索标签


  static const String OSC_OPEN_API_DETAIL = "/action/apiv2/detail"; //获取详情
  static const String OSC_OPEN_API_PROJECT_COMMENT_LIST = "/action/apiv2/project_comment_list"; //软件评论列表
  static const String OSC_OPEN_API_PROJECT_COMMENT_PUSH = "/action/apiv2/project_comment_push"; //软件评论

  static const String OSC_OPEN_API_SBU_LIST = "/action/apiv2/sub_list"; //综合-资讯、推荐、问答、博客
  static const String OSC_OPEN_API_COMMENT_PUSH = "/action/apiv2/comment_push"; //评论

  //------ 新闻 ------
  static const String OSC_OPEN_API_NEWS_LIST = "/action/openapi/news_list"; //获取新闻列表
  static const String OSC_OPEN_API_NEWS_DETAIL = "/action/openapi/news_detail"; //获取新闻详情

  //------ 帖子 ------
  static const String OSC_OPEN_API_POST_LIST = "/action/openapi/post_list"; //获取讨论区的帖子列表(对应android的 问答 分享 综合 职业 站务)
  static const String OSC_OPEN_API_POST_PUB = "/action/openapi/post_pub"; //发布帖子
  static const String OSC_OPEN_API_POST_DETAIL = "/action/openapi/post_detail"; //获取帖子详情

  //------ 动弹 ------
  static const String OSC_OPEN_API_TWEET_DETAIL = "/action/openapi/tweet_detail"; //获取动弹详情


  static const String OSC_OPEN_API_TWEET_PUB = "/action/apiv2/tweet"; //发布动弹
  static const String OSC_OPEN_API_TWEET_DELETE = "/action/apiv2/tweet_delete"; //删除动弹
  static const String OSC_OPEN_API_TWEET_LIST = "/action/apiv2/tweets"; //获取动弹列表 （最新动弹列表 我的动弹）
  static const String OSC_OPEN_API_TWEET_LIKE_LIST = "/action/apiv2/tweet_likes"; //动弹点赞列表
  static const String OSC_OPEN_API_TWEET_LIKE_REVERSE = "/action/apiv2/tweet_like_reverse"; //动弹点赞
  static const String OSC_OPEN_API_TWEET_COMMENT = "/action/apiv2/tweet_comment"; //动弹点赞
  static const String OSC_OPEN_API_TWEET_COMMENT_LIST = "/action/apiv2/tweet_comments"; //动弹评论列表
  static const String OSC_OPEN_API_TOPIC_TWEET_LIST = "/action/apiv2/topic_tweets"; //话题动弹列表
  static const String OSC_OPEN_API_TOPIC_DETAIL = "/action/apiv2/topic_detail"; //话题
  static const String OSC_OPEN_API_TOPIC_RECOMMEND = "/action/apiv2/topic_recommend"; //话题列表


  //------ 博客 ------
  static const String OSC_OPEN_API_BLOG_LIST = "/action/openapi/blog_list"; //获取博客列表
  static const String OSC_OPEN_API_BLOG_PUB = "/action/openapi/blog_pub"; //发布博客
  static const String OSC_OPEN_API_BLOG_RECOMMEND_LIST = "/action/openapi/blog_recommend_list"; //获取博客推荐列表
  static const String OSC_OPEN_API_BLOG_DETAIL = "/action/openapi/blog_detail"; //博客详情
  static const String OSC_OPEN_API_BLOG_CATALOG_LIST = "/action/openapi/blog_catalog_list"; //获取博客分类列表
  static const String OSC_OPEN_API_USER_BLOG_LIST = "/action/openapi/user_blog_list"; //获取用户博客列表

  static const String OSC_OPEN_API_USER_BLOG = "/action/apiv2/blog"; //获取用户博客列表

  //------ 评论 ------
  static const String OSC_OPEN_API_BLOG_COMMENT_LIST = "/action/openapi/blog_comment_list"; //获取博客评论列表
  static const String OSC_OPEN_API_BLOG_COMMENT_PUB = "/action/openapi/blog_comment_pub"; //发布博客评论
  static const String OSC_OPEN_API_BLOG_COMMENT_REPLY = "/action/openapi/blog_comment_reply"; //回复博客评论
  static const String OSC_OPEN_API_USER_BLOG_DELETE = "/action/openapi/user_blog_delete"; //删除用户博客
  static const String OSC_OPEN_API_COMMENT_LIST = "/action/apiv2/comment_list"; //获取评论列表
  static const String OSC_OPEN_API_COMMENT_PUB = "/action/openapi/comment_pub"; //发表评论
  static const String OSC_OPEN_API_COMMENT_REPLY = "/action/openapi/comment_reply"; //回复评论
  static const String OSC_OPEN_API_COMMENT_DELETE = "/action/openapi/comment_delete"; //删除评论

  //------ 收藏 ------
  static const String OSC_OPEN_API_FAVORITE_LIST = "/action/openapi/favorite_list"; //获取收藏列表
  static const String OSC_OPEN_API_FAVORITE_ADD = "/action/openapi/favorite_add"; //添加收藏
  static const String OSC_OPEN_API_FAVORITE_REMOVE = "/action/openapi/favorite_remove"; //取消收藏

  static const String OSC_OPEN_API_FAVORITE_LIST_V2 = "/action/apiv2/favorites"; //获取收藏列表
  static const String OSC_OPEN_API_FAVORITE_REVERSE = "/action/apiv2/favorite_reverse"; //收藏、取消收藏

  //------ 软件 ------
  static const String OSC_OPEN_API_PROJECT_DETAIL = "/action/openapi/project_detail"; //获取软件详情
  static const String OSC_OPEN_API_PROJECT_CATALOG_LIST = "/action/openapi/project_catalog_list"; //获取软件分类列表(只有2级)
  static const String OSC_OPEN_API_PROJECT_LIST = "/action/openapi/project_list"; //软件分类下的的软件列表
  static const String OSC_OPEN_API_PROJECT_TAG_LIST = "/action/openapi/project_tag_list"; //Tag下的软件列表
  //https://h5.oschina.net
  static const String OSC_OPEN_API_PROJECT_BANNER = "/apiv3/projectBanner";//软件 banner
  static const String OSC_OPEN_API_PROJECT_RECOMMEND = "/apiv3/projectRecommend";//软件 推荐列表
  static const String OSC_OPEN_API_PROJECT_HOT_CN = "/apiv3/hotCNProjects";//软件 热门国产
  static const String OSC_OPEN_API_PROJECT_LATEST = "/apiv3/latestProjects";//软件 最新
  static const String OSC_OPEN_API_PROJECT_OPEN_SOURCE_COMPANIES = "/apiv3/openSourceCompanies";//软件 开源公司
  static const String OSC_OPEN_API_PROJECT_COMPANY_PROJECT_LIST = "/apiv3/companyProjectList";//软件 公司软件

  //------ 私信 ------
  static const String OSC_OPEN_API_MESSAGE_LIST = "/action/openapi/message_list"; //获取私信列表
  static const String OSC_OPEN_API_MESSAGE_DELETE = "/action/openapi/message_delete"; //删除私信

  //------ 搜索 ------
  static const String OSC_OPEN_API_SEARCH_ARTICLE = "/action/apiv2/search_articles"; //获取搜索列表
  static const String OSC_OPEN_API_SEARCH = "/action/apiv2/search"; //搜索

  //------ 通知 ------
  static const String OSC_OPEN_API_USER_NOTICE = "/action/openapi/user_notice"; //获取用户通知
  static const String OSC_OPEN_API_CLEAR_NOTICE = "/action/openapi/clear_notice"; //清除用户通知

  //------ banner ------
  static const String OSC_OPEN_API_BANNER = "/action/apiv2/banner"; //博客、资讯


  //------ 发现 ------
  static const String OSC_OPEN_API_FIND = "/apiv3/find"; //发现
}